<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" >
<title>Login - ShopTivi</title>
<link href="<?php echo __URL_BASE ?>css/layout.css" rel="stylesheet" type="text/css" />
<script src="<?php echo __URL_BASE ?>js/jquery.min.js" type="text/javascript"></script>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
/*Login*/ 

.left_top {
	width: 13px;
	background-image: url(<?php echo __URL_BASE ?>img/XPWindowLeft.jpg);
	background-repeat: no-repeat;
	height: 30px;
}
.right_top {
	background-position: right 50%;
	background-image: url(<?php echo __URL_BASE ?>img/XPWindowright.jpg);
	width: 13px;
	background-repeat: no-repeat;
	height: 30px;
}
.top_bg {
	text-align: left;
	font-weight: bold;
	font-size: 13px;
	background-image: url(<?php echo __URL_BASE ?>img/XPWindowBG.jpg);
	height: 30px;
	color: #ffffff;
	background-repeat: repeat-x;
	font-family: verdana;
}
.top_bg2 {
	font-weight: bold;
	padding-left: 150px;
	font-size: 13px;
	background-image: url(<?php echo __URL_BASE ?>img/top.jpg);
	background-repeat: no-repeat;
	border-left: #001eed 1px solid;
	border-right: #001eed 1px solid;
	width: auto;
	height: 70px;
	color: #ff3300;
	font-family: verdana;
}
.bottom_login {
	border-left: #001eed 1px solid;
	border-right: #001eed 1px solid;
	border-bottom: #001eed 1px solid;
	height: 1px;
}
.logname {
	font-size: 11px;
	font-weight: bold;
	color: #0b1985;
	font-family: verdana;
	padding-left: 5px;
}
.txtbox {
	border-right: #0b1985 1px solid;
	border-top: #0b1985 1px solid;
	text-align: left;
	border-left: #0b1985 1px solid;
	width: 250px;
	color: #1c2874;
	border-bottom: #0b1985 1px solid;
	height: 19px;
}
.selectbox {
	border-right: #3854a1 1px solid;
	border-top: #3854a1 1px solid;
	border-left: #3854a1 1px solid;
	border-bottom: #3854a1 1px solid;
	font-family: verdana;
	font-size: 12px;
	padding-left: 10px;
	height: 19px;
	text-align: left;
}
.bg_main {
	border-right: #001eed 1px solid;
	background: url(<?php echo __URL_BASE ?>img/bg_login.jpg) repeat-x center bottom;
	padding-bottom: 10px;
	border-left: #001eed 1px solid;
	padding-top: 10px;
}
.txt3 {
	font-size: 10px;
	color: #0b1985;
	font-family: verdana;
	text-align: justify;
}
.error {
	color: Red;
	font-size: 11px;
	text-align: left;
}
.buttom_image {
	font-size: 12px;
	font-weight: bold;
	width: 100px
}
</style>
</head>
<body>
<form id="form1" style="margin:0;padding:0" method="post" action="<?php echo __URL_BASE ?>index.php?rt=admin_logon/login">
  <div id="wrapper">
    <div id="header" class="clearfix">
      <div class="div">
		<table class="table" cellspacing="0" cellpadding="0">
		  <tr>
			<td colspan="2" class="logo"> TRANG QUẢN LÝ </td>
		  </tr>
		  <tr>
			<td class="left"> <strong> </strong> </td>
			<td class="right"> </td>
		  </tr>
		</table>
	</div>
    </div>
    <div id="main" class="clearfix">
      <table width="100%" border="0" cellspacing="0">
        <tr>
          <td colspan="2"><div style="width:100%;">
              <div style="text-align:center"> <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <br />
                <table width="410" style="width:410px;margin:0 auto;" border="0" align="center" cellpadding="0" cellspacing="0">
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="13" class="left_top">&nbsp;</td>
                          <td valign="middle" class="top_bg">Log On Admin Panel</td>
                          <td width="13" class="right_top">&nbsp;</td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td class="top_bg2">Control Panel Login</td>
                  </tr>
                  <tr>
                    <td class="bg_main" align="center"><table width="94%" border="0" cellspacing="0" cellpadding="3">
                        <tr>
                          <td width="29%" class="logname">Username : </td>
                          <td width="71%"><input type="text" name="tusername" class="txtbox" /></td>
                        </tr>
                        <tr height="2">
                          <td colspan="2"></td>
                        </tr>
                        <tr>
                          <td class="logname">Password : </td>
                          <td><input type="password" name="tpass" class="txtbox" /></td>
                        </tr>
                        <tr>
							<td></td>
                          <td class="error">
						  <?php if(isset($fail)) echo $fail; ?>
						  </td>
                        </tr>
                        <tr>
                          <td height="47" colspan="2" align="center">
						  	<input type="submit" value="Logon"  />
                            <input type="reset" value="Cancel" /></td>
                        </tr>
                        <tr>
                          <td colspan="2" height="2px"></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td class="bottom_login" height="25px"><a href="http://onsoft.vn" title="giải pháp phần mềm, thiết kế website"><img src="<?php echo __URL_BASE ?>img/bottom.jpg" width="410" height="19" border="0"/></a></td>
                  </tr>
                </table>
              </div>
            </div></td>
        </tr>
      </table>
    </div>
  </div>
</form>
</body>
</html>